using System;

namespace RabbitTraceability.Api.Dtos.Response
{
    /// <summary>
    /// 用户信息响应DTO
    /// </summary>
    public class UserResponseDto
    {
        /// <summary>
        /// 用户编号
        /// </summary>
        public string UserId { get; set; } = string.Empty;

        /// <summary>
        /// 用户名
        /// </summary>
        public string Username { get; set; } = string.Empty;

        /// <summary>
        /// 真实姓名
        /// </summary>
        public string RealName { get; set; } = string.Empty;

        /// <summary>
        /// 电子邮箱
        /// </summary>
        public string Email { get; set; } = string.Empty;

        /// <summary>
        /// 性别（0-未知，1-男，2-女）
        /// </summary>
        public int Gender { get; set; }

        /// <summary>
        /// 账户状态（0-禁用，1-启用）
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 用户角色
        /// </summary>
        public string Role { get; set; } = string.Empty;

        /// <summary>
        /// 最后登录时间
        /// </summary>
        public DateTime? LastLoginTime { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreatedTime { get; set; }
    }
}